package com.spsyry.pay.enums;

public enum PayOrderEnum {
    /** 支付成功 */
    SUCCESS("SUCCESS", 10),

    /** 转入退款 */
    REFUND("REFUND", 20),

    /** 未支付 */
    NOTPAY("NOTPAY", 30),

    /** 已关闭 */
    CLOSED("CLOSED", 40),

    /** 已撤销 */
    REVOKED("REVOKED", 50),

    /** 用户支付中 */
    USERPAYING("USERPAYING", 60),

    /** 支付失败 */
    PAYERROR("PAYERROR", 70),

    /** 已接收，等待扣款 */
    ACCEPT("ACCEPT", 80);

    private final String code;
    private final Integer description;

    PayOrderEnum(String code, Integer description) {
        this.code = code;
        this.description = description;
    }

    public Integer getDescription() {
        return description;
    }

    public String getCode() {
        return code;
    }


}
